package com.ynny.Zuoye5;

public class XueStudentTest {
    public static void main(String[] args) {

        Student st = new Pupil();
        st.study();

        CollegeStudent co = new CollegeStudent();
        co.study();
        co.XuCo();
        co.xuEn();

        Sportsman sp = new BasketballPlayers();
        sp.doSport();

        Sportsman sp1 = new Footballer();
        sp1.doSport();
        XueEnglish xuEn = new Footballer();
        xuEn.xuEn();


    }
}
